* { padding: 0; margin: 0;}
a { text-decoration: none;}
a,
body,
input,
input:focus,
select,
select:focus,
textarea,
textarea:focus {
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
  outline: 0;
  -webkit-appearance: none;
}
input[type=number] {
  -moz-appearance: textfield;
}
input[type=number]::-webkit-outer-spin-button,
input[type=number]::-webkit-inner-spin-button {
  -webkit-appearance: none;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Helvetica Neue", STHeiti, "Microsoft Yahei", Tahoma, Simsun, sans-serif;
  font-size: 14px;
  color: #333;
  line-height: 1.414;
  background-color: #f5f5f5
}

#app {
  width: 100vw;
  height: 100vh;
  overflow: hidden;
}

#nprogress .bar {
  background-color: var(--theme-color)!important;
}

.el-dialog__header {
  border-bottom: 1px solid #EBEEF5;
}
.el-dialog__footer {
  border-top: 1px solid #EBEEF5;
}

.el-avatar img {
  width: 100%;
}

.el-card__header {
  padding: 14px 14px 10px!important;
  .el-form-item {
    margin-bottom: 0;
  }
}
.el-card__body {
  padding: 14px!important;
}

.table-operate-cell {
  .el-link {
    &+.el-link, &+span {
      margin-left: 10px;
    }
  }
  .el-link [class*=el-icon-]+span {
    margin-left: 2px;
  }
}

.table-order-input {
  display: block;
  width: 100%;
  height: 24px;
  text-align: center;
  border: 1px solid #ebeef5;
  &:focus {
    border-color: var(--theme-color);
  }
}

.tree-border {
  border: 1px solid #e5e6e7;
  border-radius: 4px;
}

.app-container {
  box-sizing: border-box;
  padding: 16px;
}
.app-view {
  background-color: #fff;
  padding: 14px;
  border: 1px solid #eee;
  border-radius: 4px;

  &__title {
    margin-bottom: 10px;
    display: flex;
    h3 {
      font-size: 22px;
      font-weight: normal;
    }
    .el-button {
      margin-left: 10px;
    }
  }

  &__content {
    padding: 20px 15px;
    border: 1px solid #ddd;
  }
}
